package com.imooc.reader.portal.service;

import com.imooc.reader.portal.entity.Member;
import com.imooc.reader.portal.entity.MemberReadState;

public interface MemberService {
    public void sendVCode(String mobile);

    public Member register(String mobile, String vcode);

    public Member selectById(Long memberId);

    MemberReadState selectMemberReadState(Long memberId, Long bookId);
    MemberReadState updateMemberReadState(Long memberId, Long bookId, Integer readState);

}
